package org.gangcai.mac.shop.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by mac on 2018/4/5.
 */

public class ConfirmOrderBean extends CommonResonseBean implements Parcelable {

    /**
     * receive_name : 美军
     * receive_mobile : 155525636644
     * receive_address : 山东省济南市市中区何宇轩
     * img : Public/Uploads/5abc9216607d4.png
     * goods_name : Apple iPhone X (A1865) 256GB 深空灰色 移动联通电信4G手机
     * money : 7788.00
     * back_money : 5000.00
     * gid : 2
     */

    private String receive_name;
    private String receive_mobile;
    private String receive_address;
    private String img;
    private String goods_name;
    private String money;
    private String back_money;
    private String gid;
    private String orderId;

    public String getReceive_name() {
        return receive_name;
    }

    public void setReceive_name(String receive_name) {
        this.receive_name = receive_name;
    }

    public String getReceive_mobile() {
        return receive_mobile;
    }

    public void setReceive_mobile(String receive_mobile) {
        this.receive_mobile = receive_mobile;
    }

    public String getReceive_address() {
        return receive_address;
    }

    public void setReceive_address(String receive_address) {
        this.receive_address = receive_address;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public String getBack_money() {
        return back_money;
    }

    public void setBack_money(String back_money) {
        this.back_money = back_money;
    }

    public String getGid() {
        return gid;
    }

    public void setGid(String gid) {
        this.gid = gid;
    }

    public ConfirmOrderBean() {
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getOrderId() {
        return orderId;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.receive_name);
        dest.writeString(this.receive_mobile);
        dest.writeString(this.receive_address);
        dest.writeString(this.img);
        dest.writeString(this.goods_name);
        dest.writeString(this.money);
        dest.writeString(this.back_money);
        dest.writeString(this.gid);
        dest.writeString(this.orderId);
    }

    protected ConfirmOrderBean(Parcel in) {
        this.receive_name = in.readString();
        this.receive_mobile = in.readString();
        this.receive_address = in.readString();
        this.img = in.readString();
        this.goods_name = in.readString();
        this.money = in.readString();
        this.back_money = in.readString();
        this.gid = in.readString();
        this.orderId = in.readString();
    }

    public static final Creator<ConfirmOrderBean> CREATOR = new Creator<ConfirmOrderBean>() {
        @Override
        public ConfirmOrderBean createFromParcel(Parcel source) {
            return new ConfirmOrderBean(source);
        }

        @Override
        public ConfirmOrderBean[] newArray(int size) {
            return new ConfirmOrderBean[size];
        }
    };
}
